package com.example.yoho.di.moudles;

import com.example.yoho.mvp.contract.StrlloContract;
import com.example.yoho.mvp.model.StrlloSortModel;

import dagger.Module;
import dagger.Provides;
@Module
public class StrlloModules {

    private  StrlloContract.View view;

    public StrlloModules(StrlloContract.View view) {
        this.view = view;
    }

    @Provides
    public StrlloContract.View StrlloView(){
        return view;
    }

    @Provides
    public StrlloContract.Model StrlloModel(StrlloSortModel model){
        return model;
    }
}
